-- GENERATED SPELL FOR [Drakkari Protector] --


function spell0_26797(pUnit, Event) --@Head Trauma,n/a--
pUnit:FullCastSpellOnTarget(52425,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26797', 5000, 1)
end

function Sorts_26797(pUnit, Event)
local choix_sorts_26797 = math.random(0, 0)
if choix_sorts_26797 == 0 then
pUnit:RegisterEvent('spell0_26797', 1, 1)
end
end

function mob26797_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26797', math.random(1500, 3000), 1)
end

function mob26797_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26797_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26797_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26797, 1, 'mob26797_Action')
RegisterUnitEvent(26797, 2, 'mob26797_Leave')
RegisterUnitEvent(26797, 3, 'mob26797_Kill')
RegisterUnitEvent(26797, 4, 'mob26797_Die')
